home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2004 #11 / Amiga Plus CD - 2004 - No. 11.iso / AmiSoft / Comm / www / tidy_os4.lha / tidy / include / fileio.h < prev    next >
C/C++ Source or Header  |  2004-07-25  |  840b  |  39 lines

  1. #ifndef __FILEIO_H__
  2. #define __FILEIO_H__
  3.  
  4. /** @file fileio.h - does standard C I/O
  5.  
  6.   Implementation of a FILE* based TidyInputSource and 
  7.   TidyOutputSink.
  8.  
  9.   (c) 1998-2003 (W3C) MIT, ERCIM, Keio University
  10.   See tidy.h for the copyright notice.
  11.  
  12.   CVS Info:
  13.     $Author: creitzel $ 
  14.     $Date: 2003/03/19 19:33:13 $ 
  15.     $Revision: 1.4 $ 
  16. */
  17.  
  18. #include "buffio.h"
  19. #ifdef __cplusplus
  20. extern "C" {
  21. #endif
  22.  
  23. /** Allocate and initialize file input source */
  24. void initFileSource( TidyInputSource* source, FILE* fp );
  25.  
  26. /** Free file input source */
  27. void freeFileSource( TidyInputSource* source, Bool closeIt );
  28.  
  29. /** Initialize file output sink */
  30. void initFileSink( TidyOutputSink* sink, FILE* fp );
  31.  
  32. /* Needed for internal declarations */
  33. void filesink_putByte( ulong sinkData, byte bv );
  34.  
  35. #ifdef __cplusplus
  36. }
  37. #endif
  38. #endif /* __FILEIO_H__ */
  39.